Skip to main content
Version: 5.3.0 - 5.3.1

deployConstantContract

Request to the specified node for the energy cost of deploying a contract.

Usage

tronWeb.transactionBuilder.deployConstantContract(options);

Parameters

ArgumentDescriptionType
optionsoptions releated to contract deploying, such as ownerAddress, input(bytecode + deploy data), tokenId, tokenValue, callValueobject

Returns

Object

Example

> tronWeb.transactionBuilder.deployConstantContract({
    ownerAddress: 'ownerAddress',
    input: '8839afd8....',
});